using UnityEngine;

[CreateAssetMenu(fileName = "New StrengthPotion", menuName = "Inventory/PowerUpItem/StrengthPotion(力量增幅道具)")]
public class StrengthPotion : PowerUpItem
{
    public StrengthPotion()
    {
        strengthBoost = 0;// 设定力量增幅值
    }

    public override void ApplyEffect(Player player)
    {
        base.ApplyEffect(player);
        Debug.Log($"玩家使用了{itemName}，力量增加了 {strengthBoost} 点。");
    }
}